package com.nbsaas.boot.agent.rest.convert;

import com.nbsaas.boot.entity.agent.AgentModel;
import com.nbsaas.boot.agent.api.domain.simple.AgentModelSimple;

import com.nbsaas.boot.rest.api.Converter;

/**
* -列表对象转换器
*/

public class AgentModelSimpleConvert implements Converter<AgentModelSimple, AgentModel> {




@Override
public AgentModelSimple convert(AgentModel source) {
    AgentModelSimple result = new AgentModelSimple();

                result.setNote(source.getNote());
                result.setName(source.getName());
                result.setModelValue(source.getModelValue());
                result.setId(source.getId());
                result.setAddDate(source.getAddDate());
                result.setLastDate(source.getLastDate());


    return result;
}

}